package com.ruoyi.project.propertySystem.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.ruoyi.project.propertySystem.domain.InspectItemRecord;
import com.ruoyi.project.propertySystem.domain.InspectRecord;
import com.ruoyi.project.propertySystem.domain.vo.InspectRecordVO;
import com.ruoyi.project.query.InspectRecordQuery;

/**
 * 巡检记录Service接口
 * 
 * @author wangshuo
 * @date 2021-02-14
 */
public interface IInspectRecordService 
{
    /**
     * 查询巡检记录
     * 
     * @param id 巡检记录ID
     * @return 巡检记录
     */
    public InspectRecord selectInspectRecordById(Long id);

    /**
     * 查询巡检记录列表
     * 
     * @param inspectRecord 巡检记录
     * @return 巡检记录集合
     */
    public List<InspectRecord> selectInspectRecordList(InspectRecord inspectRecord);

    /**
     * 新增巡检记录
     * 
     * @param inspectRecord 巡检记录
     * @return 结果
     */
    public int insertInspectRecord(InspectRecord inspectRecord);

    /**
     * 修改巡检记录
     * 
     * @param inspectRecord 巡检记录
     * @return 结果
     */
    public int updateInspectRecord(InspectRecord inspectRecord);

    /**
     * 批量删除巡检记录
     * 
     * @param ids 需要删除的巡检记录ID
     * @return 结果
     */
    public int deleteInspectRecordByIds(Long[] ids);

    /**
     * 删除巡检记录信息
     * 
     * @param id 巡检记录ID
     * @return 结果
     */
    public int deleteInspectRecordById(Long id);

    List<InspectRecordVO> getUserInspect(Long stationId, Long userId);

    PageInfo<InspectRecordVO> getUserInspectRecord(InspectRecordQuery inspectRecordQuery);
}
